#include "Module.h"
#include "GameSystem.h"

Module::Module(int frequency):
_frequency(frequency)
{
        _key = GameSystem::getNextSn();
}

Module::~Module()
{
}

int Module::getKey(){
	return _key;
}

void Module::setUpdateFrequency(long frequency){
	_frequency = frequency;
}

long Module::getUpdateFrequency(){
	return _frequency;
}
